<template>
  <div>御界星尊: {{ msg }}</div>
  <a-button type="primary" @click="submit">确定</a-button>
</template>

<script setup lang="ts">
defineProps({
  msg: {
    type: String,
    default: '',
  },
});

const e = defineEmits<{
  (e: 'close', value: string): void;
}>();
const submit = () => {
  e('close', 'submit');
};
</script>

<style scoped></style>
